package com.zzq.dao.user;

import com.zzq.pojo.User;
import org.apache.ibatis.annotations.Param;

public interface UserMapper {

    User getLoginUser(@Param("userId")int userId);
    User getLoginUserByName(@Param("userName")String userName);
    User login(@Param("userName")String userName,@Param("passWord") String passWord);
    int register(@Param("userName")String userName,@Param("passWord") String passWord);
    int changePassword(@Param("userName")String userName,@Param("newPassword") String passWord);



}
